import Vue from "vue";
import { formatDate } from '@/library';

Vue.filter('formatDate', function (value) {
    if (!value) return ''
    let oDate = new Date(value)
    return formatDate(+oDate)
})